home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / ShowPages 1.4.1 / bbfig1.14 / bbfig.l < prev    next >
Encoding:
Text File  |  1993-05-14  |  1.3 KB  |  41 lines  |  [TEXT/ttxt]

  1.  
  2.  
  3.  
  4. BBFIG(LOCAL)        UNIX Programmer's Manual         BBFIG(LOCAL)
  5.  
  6.  
  7.  
  8. NAME
  9.      bbfig - calculate bounding boxes in PostScript
  10.  
  11. SYNTAX
  12.      bbfig [ file ... ]
  13.  
  14. USAGE
  15.      Bbfig should be piped into psprint or the equivalant.
  16.  
  17. DESCRIPTION
  18.      The concatenation of the list of files, or standard input if
  19.      no file names are supplied, is assumed to be a PostScript
  20.      program for which the bounding box is desired.  Bbfig
  21.      prepends code that calculates the bounding box, and places
  22.      the result on standard output.  The actual calculation is
  23.      done in the PostScript printer; the output is in the form of
  24.      a dashed line demarcating the bounding box and and the
  25.      corresponding %%BoundingBox header line printed just below
  26.      the box.  The %%BoundingBox line should be added to the
  27.      header of the PostScript file.
  28.  
  29. BUGS
  30.      Bbfig is known to be confused by images and clipping paths.
  31.      If the box around the figure clearly is not the minimal one,
  32.      a ruler is the best bet for calculating the correct box.
  33.      Remember that the bounding box values are in PostScript
  34.      points (72 to the inch) relative to an origin at the lower
  35.      left corner of the page, and that (a,b) is the lower left
  36.      hand corner of the bounding box, and (c,d) is the upper
  37.      right corner.
  38.  
  39. Author
  40.      Ned Batchelder, modified by Bernie Cosell [cosell@bbn.com]
  41.